Converting date formats in sql

join shbcf.ru